<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<script type="text/javascript" src="js/showdate.js"></script>
<form action="${model.target }" method="POST">
<table>
<tr><td colspan="3"><input type="hidden" name="id" value="${model.competition.id }"/></td></tr>
<tr><td>Name:</td><td><input type="text" name="name" value="${model.competition.name }"/></td><td></td></tr>
<tr><td>Description:</td><td><input type="text" name="description" value="${model.competition.description }"/></td><td></td></tr>
<tr><td>Join Limit:</td><td><input type="text" name="joinlimit" value="${model.competition.joinlimit }"/></td><td></td></tr>
<tr><td>Start Date:</td><td><input type="text" name="startdate" value="${model.competition.startDate }" onfocus="HS_setDate(this)"/></td><td></td></tr>
<tr><td>End Date:</td><td><input type="text" name="enddate" value="${model.competition.endDate }" onfocus="HS_setDate(this)"/></td><td></td></tr>
<tr><td>Vote Rank:</td><td><input type="text" name="rank" value="${model.competition.rank }"/></td><td></td></tr>
<tr><td>Vote Limit:</td><td><input type="text" name="votelimit" value="${model.competition.votelimit }"/></td><td></td></tr>
<tr><td colspan="3"><input type="submit"/></td>
</table>
</form>
</body>
</html>